Skip to content

feat: add feishu message card and streaming support#800

Open
rossiniortensia-ops wants to merge 1 commit intosipeed:mainfrom
rossiniortensia-ops:feat/feishu-card-support
Open

feat: add feishu message card and streaming support#800
rossiniortensia-ops wants to merge 1 commit intosipeed:mainfrom
rossiniortensia-ops:feat/feishu-card-support

Conversation

@rossiniortensia-ops
Copy link

@rossiniortensia-ops rossiniortensia-ops commented Feb 26, 2026

📝 Description

Add Feishu (飞书) channel support for message cards and streaming output, inspired by OpenClaw implementation.

🗣️ Type of Change

  • 🐞 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 📖 Documentation update
  • ⚡ Code refactoring (no functional changes, no api changes)

🤖 AI Code Generation

  • 🤖 Fully AI-generated (100% AI, 0% Human)
  • 🛠️ Mostly AI-generated (AI draft, Human verified/modified)
  • 👨‍💻 Mostly Human-written (Human lead, AI assisted or none)

Security Note: This code has been tested for basic functionality only. Security review is pending. Please review carefully before merging.

🔗 Related Issue

N/A

📚 Technical Context (Skip for Docs)

  • Reference URL: OpenClaw feishu extension implementation
  • Reasoning: Added FeishuCard struct, FeishuStreamingSession, render_mode config (raw/auto/card), streaming_enabled config

🧪 Test Environment

  • Hardware: PC
  • OS: Windows
  • Model/Provider: GLM-4.7 (智谱)
  • Channels: Feishu (飞书)

📸 Evidence (Optional)

Click to view Logs/Screenshots

Feishu channel successfully started, WebSocket connected, messages sent and received.

☑️ Checklist

  • My code/docs follow the style of this project.
  • I have performed a self-review of my own changes.
  • I have updated the documentation accordingly.

- Add FeishuCard struct and BuildMarkdownCard function
- Add FeishuStreamingSession for real-time card updates
- Add render_mode config (raw/auto/card)
- Add streaming_enabled config for streaming output
- Auto-detect code blocks and tables for card rendering
@rossiniortensia-ops
Copy link
Author

rossiniortensia-ops commented Feb 26, 2026

Test Screenshot

屏幕截图 2026-02-26 134415

@rossiniortensia-ops
Copy link
Author

麻烦安全审查审计一下提交的代码,因为对安全审计不在行(●'◡'●)

@rossiniortensia-ops rossiniortensia-ops changed the title feat(channels/feishu): add message card and streaming support feat: add feishu message card and streaming support Feb 26, 2026
@xiaket xiaket added type: enhancement New feature or request domain: channel labels Feb 26, 2026
@xiaket xiaket requested a review from yinwm February 26, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants